// components/chatItem/chatItem.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        receiverAvator: {
            type: String,
            default: ''
        },
        receiverNickname: {
            type: String,
            default: ''
        },
        MessageList: {
            type: Array,
            default: []
        },
        senderAvator: {
            type: String,
            default: ''
        },
        senderId: {
            type: String,
            default: ''
        },
        receiverId: {
            type: String,
            default: ''
        }
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {

    },
    lifetimes:{
        ready(){
          console.log(this.properties.MessageList);  
        }
    }
})
